package GUI;

import javax.swing.Icon;
import javax.swing.JPanel;
import javax.swing.JLabel;

import util.ResourceManager;

import java.awt.Rectangle;

public class PaneBase extends JPanel {
	
	/* GERA LAYOUT DA GUI */
	
	private static final long serialVersionUID = 1L;
	
	private ResourceManager res;
	private Icon layout;
	private JLabel layoutGUI = null;

	public PaneBase(ResourceManager res) {
		super();
		this.res = res;
		initialize();
	}

	private void initialize() {
		layout = res.getImage("LayoutMaior.png");
		layoutGUI = new JLabel(layout);
		layoutGUI.setBounds(new Rectangle(0, 0, 844, 502));
		this.setSize(844, 502);
		this.add(layoutGUI, null);
	}
}